set(PROJECT_OUTPUT_DIR ${PROJECT_SOURCE_DIR}/output-${PROJECT_NAME})
set(PROJECT_OUTPUT_INC ${PROJECT_OUTPUT_DIR}/include)
set(PROJECT_OUTPUT_LIB ${PROJECT_OUTPUT_DIR}/lib)
set(PROJECT_OUTPUT_BIN ${PROJECT_OUTPUT_DIR}/bin)
include_directories(${PROJECT_OUTPUT_INC})
link_directories(${PROJECT_OUTPUT_LIB})
function (target arg)
    set(TARGET_NAME ${ARGV0} PARENT_SCOPE)
endfunction ()